/*
 * Welcome to use the TableGo Tools.
 * 
 * http://vipbooks.iteye.com
 * http://blog.csdn.net/vipbooks
 * http://www.cnblogs.com/vipbooks
 * 
 * Author:bianj
 * Email:edinsker@163.com
 * Version:5.8.8
 */

package cn.stylefeng.guns.czlm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 商品规格值表
 * 
 * @author zhou
 * @version 1.0.0 2019-04-29
 */
@TableName("tb_attribute_value")
public class TbAttributeValue implements Serializable {

    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    /** attributeId */
    @TableField("attributeId")
    private Integer attributeId;



    /** 规格值 */
    @TableField("value")
    private String value;

    @Override
    public String toString() {
        return "TbAttributeValue{" +
                "id=" + id +
                ", attributeId=" + attributeId +
                ", value='" + value + '\'' +
                '}';
    }

    /**
     * 获取id
     * 
     * @return id
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置id
     * 
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取attributeId
     * 
     * @return attributeId
     */
    public Integer getAttributeId() {
        return this.attributeId;
    }

    /**
     * 设置attributeId
     * 
     * @param attributeId
     */
    public void setAttributeId(Integer attributeId) {
        this.attributeId = attributeId;
    }

    /**
     * 获取规格值
     * 
     * @return 规格值
     */
    public String getValue() {
        return this.value;
    }

    /**
     * 设置规格值
     * 
     * @param value
     *          规格值
     */
    public void setValue(String value) {
        this.value = value;
    }
}